<div id="leftbar">
	<div id="leftbar-1"></div>
	<% content_tag :div, :id => 'leftbar-2' do -%>
		<%- if(controller.controller_name == "groups") -%>
			<% content_tag :div, :class => 'active' do -%>
				<% content_tag :a, :href => '/groups' do %>
					<%= content_tag :img, nil, :src => '/images/icons/icons_60.png', :class => 'icon' -%>
					<%= content_tag :span, 'Home' -%>
				<% end -%>
			<% end -%>
		<% else -%>
			<% content_tag :a, :href => '/groups' do %>
				<%= content_tag :img, nil, :src => '/images/icons/icons_59.png', :class => 'icon' -%>
				<%= content_tag :span, 'Home' -%>
			<% end -%>
		<% end -%>
		<%- if(controller.controller_name == "projects") -%>
			<% content_tag :div, :class => 'active' do -%>
				<% content_tag :a, :href => '/projects' do %>
					<%= content_tag :img, nil, :src => '/images/icons/icons_27.png', :class => 'icon' -%>
					<%= content_tag :span, 'Projects' -%>
				<% end -%>
			<% end -%>
		<% else -%>
			<% content_tag :a, :href => '/projects' do %>
				<%= content_tag :img, nil, :src => '/images/icons/icons_28.png', :class => 'icon' -%>
				<%= content_tag :span, 'Projects' -%>
			<% end -%>
		<% end -%>
		<%- if(controller.controller_name == "contacts") -%>
			<% content_tag :div, :class => 'active' do -%>
				<% content_tag :a, :href => '/contacts' do %>
					<%= content_tag :img, nil, :src => '/images/icons/icons_71.png', :class => 'icon' -%>
					<%= content_tag :span, 'Contacts' -%>
				<% end -%>
			<% end -%>
		<% else -%>
			<% content_tag :a, :href => '/contacts' do %>
				<%= content_tag :img, nil, :src => '/images/icons/icons_72.png', :class => 'icon' -%>
				<%= content_tag :span, 'Contacts' -%>
			<% end -%>
		<% end -%>
		<%- if(controller.controller_name == "finances") -%>
			<% content_tag :div, :class => 'active' do -%>
				<% content_tag :a, :href => '/finances' do %>
					<%= content_tag :img, nil, :src => '/images/icons/icons_56.png', :class => 'icon' -%>
					<%= content_tag :span, 'Finances' -%>
				<% end -%>
			<% end -%>
		<% else -%>
			<% content_tag :a, :href => '/finances' do %>
				<%= content_tag :img, nil, :src => '/images/icons/icons_57.png', :class => 'icon' -%>
				<%= content_tag :span, 'Finances' -%>
			<% end -%>
		<% end -%>
		<%- if(controller.controller_name == "history") -%>
			<% content_tag :div, :class => 'active' do -%>
				<% content_tag :a, :href => '/history' do %>
					<%= content_tag :img, nil, :src => '/images/icons/icons_31.png', :class => 'icon' -%>
					<%= content_tag :span, 'History' -%>
				<% end -%>
			<% end -%>
		<% else -%>
			<% content_tag :a, :href => '/history' do %>
				<%= content_tag :img, nil, :src => '/images/icons/icons_30.png', :class => 'icon' -%>
				<%= content_tag :span, 'History' -%>
			<% end -%>
		<% end -%>
	<% end -%>
	<% content_tag :div, :id => 'leftbar-3' do -%>
		<%= content_tag :div, 'Quick Create', :class => 'title' %>
		<%= render :partial => 'partials/newaction' -%>
		<%= render :partial => 'partials/newproject' -%>
		<%= render :partial => 'partials/newfund' -%>
		<%= render :partial => 'partials/newline' -%>
		<%= render :partial => 'partials/newcontact' -%>
	<% end -%>
</div>
